<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>

<?php if(!is_page('Home')){ ?>
</div>
<div id="container-footer">
    <div id="sep-footer"></div>
<?php } ?>
    <div id="contenitore-footer">
    <div class="info"> powered by LINES - Fater S.p.A. - P.IVA 01282360682 | <a href="#">Informativa sulla privacy</a> | <a href="#">Note legali</a></div>
    <div class="torna gozero"><a class="" href="#" title="Torna in alto">Torna in alto</a> </div>
  </div>
    
<?php if(!is_page('Home')){  ?>
</div>
<?php } ?>
  <?php
$richiesta = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

$chiSiamo = get_permalink('33') . "";
$infoUtili = get_permalink('48')."";

if ($richiesta == $chiSiamo) {   ?>

    <script type="text/javascript">

        $(document).ready(function() {
           var slideshow = $('#slide').cycle({
                fx: 'scrollHorz',
                speed: 2000,
                timeout: 10,
                prev: '#prev',
                next: '#next'  
            });
           $('#slide').hover(function(){
                    slideshow.cycle('pause');
           }).mouseleave(function(){
                   slideshow.cycle('resume');
           })
        });
    </script>
<?php } ?>
    
    <?php if ( $richiesta == $infoUtili) {  ?>
    
    <script type="text/javascript">
     $(document).ready(function() {
           var slideshow = $('#slide').cycle({
                fx: 'scrollLeft',
                speed: 2000,
                timeout: 10,
                prev: '#prev',
                next: '#next',
                pager: '#pallini'
            });
           $('#slide').hover(function(){
                    slideshow.cycle('pause');
           }).mouseleave(function(){
                   slideshow.cycle('resume');
           })
        });

    </script>
    
    <?php } ?>

</div> <!-- chiude il contenitore -->
<div id="eventi"></div>


</body>
</html>
<?php
wp_footer();
?>